<?php use_helper('Object', 'Validation', 'ObjectAdmin', 'I18N', 'Date') ?>

<?php use_stylesheet('/sf/sf_admin/css/main') ?>

<div id="sf_admin_container">

<h1><?php if ($temporary_output->getId()) echo 'Edit '. $temporary_output->getTempno(); else echo 'Create TemporaryOutput' ?></h1>

<div id="sf_admin_header">
<?php include_partial('temporaryoutput/edit_header', array('temporary_output' => $temporary_output)) ?>
</div>

<div id="sf_admin_content">
<?php include_partial('temporaryoutput/edit_messages', array('temporary_output' => $temporary_output, 'labels' => $labels)) ?>
<?php include_partial('temporaryoutput/edit_form', array('temporary_output' => $temporary_output, 'labels' => $labels)) ?>
</div>

<div id="sf_admin_footer">
<?php include_partial('temporaryoutput/edit_footer', array('temporary_output' => $temporary_output)) ?>
</div>

</div>
